package com.day08.entity;

public class StudentTest {
    public static void main(String[] args) {
        Student stu2 = new Student();
        Student stu = new Student("Tom",20,"男");
        System.out.println(stu.getStuName());
        System.out.println(stu.getStuAge());
        System.out.println(stu.getStuGender());
        Student stu1 = new Student("Mary",21,"女");
        System.out.println(stu1.getStuName());
        System.out.println(stu1.getStuAge());
        System.out.println(stu1.getStuGender());

        stu.sayHello();
        stu.sayHello("sanmao");

    }
}
